﻿

--怪物配置在server/bin/jxServer/build/LogicServer/data/config/common/CommonFreshConfig.lua
--每层的配置
TwelvePalacesCfg = 
{
	timer = 
	{
		activityTime 	= 3600,		--活动时长（秒）
		monsterFreshCd	= 30,		--小怪刷新周期（秒） --废弃
		bossFreshCd		= 3600,		--BOSS刷新周期（秒）--废弃
		
	},
	freshTimers =               --设定7个定时器，注意若需增加定时器需要实现对应定时器函数
	{
		{
		  	timerIdx = 1,
		   	freshCd = 150,                 --刷新时间
		   	relatedFloors = {1,2,3,},     --关联的层数
		},
		{
		  	timerIdx = 2,
		   	freshCd = 150,
		   	relatedFloors = {4,5,6,},
		},
		{
		  	timerIdx = 3,
		   	freshCd = 150,
		   	relatedFloors = {7,8,9,},
		},
		{
		  	timerIdx = 4,
		   	freshCd = 150,
		   	relatedFloors = {10,11,12,},
		},
		{
		  	timerIdx = 5,
		   	freshCd = 150,
		   	relatedFloors = {13,},
		},
		--[[
		{
		  	timerIdx = 6,
		   	freshCd = 3600,
		   	relatedFloors = {14,},
		},
		{
		  	timerIdx = 7,
		   	freshCd = 10800,
		   	relatedFloors = {15,},
		},
		]]
    },
	itemsNeedClear 		= {},	--需要清理的道具（进入场景、离开星宫场景、登陆时删除这些道具）
	MonstersCfg   =      --所有的怪物和boss配置
	{
	    monsters = 
	    {
	   
	    },
	    boss =               --在mob和die时需要广播信息的bossID
	    {
	        1553,1554,
	    },  
	},
	palaceAwards = 
	{
		[3] = --到达第2层奖励
		{
			floorsAwards = 	--到达某层给奖励（活动中只给一次，加到身上,不占背包）
			{
                 {type = 17, id = 0, count = 30000000, quality = 0, strong = 0, bind = 0},
		         {type = 1, id = 0, count = 10000000, quality = 0, strong = 0, bind = 0},
			},	
		},

		[6] = --到达第4层奖励
		{
			floorsAwards = 	--到达某层给奖励（活动中只给一次，加到身上,不占背包）
			{
                 {type = 17, id = 0, count = 30000000, quality = 0, strong = 0, bind = 0},
		         {type = 1, id = 0, count = 20000000, quality = 0, strong = 0, bind = 0},
			},	
		},
		
		[9] = --到达第4层奖励
		{
			floorsAwards = 	--到达某层给奖励（活动中只给一次，加到身上,不占背包）
			{
                 {type = 17, id = 0, count = 40000000, quality = 0, strong = 0, bind = 0},
		         {type = 1, id = 0, count = 30000000, quality = 0, strong = 0, bind = 0},
			},	
		},
		
		[12] = --到达第4层奖励
		{
			floorsAwards = 	--到达某层给奖励（活动中只给一次，加到身上,不占背包）
			{
                 {type = 17, id = 0, count = 50000000, quality = 0, strong = 0, bind = 0},
		         {type = 1, id = 0, count = 40000000, quality = 0, strong = 0, bind = 0},
			},	
		},

	},

	floors = 
	{
		{
			floorIdx 		= 1,				--第1层
			sceneId 		= 61,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,2},			--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			freshIdx        = 1,       			--不同功能使用不同freshIdx  [CommonFreshConfig]
			monsters = 
			{
				{ monsterId=236, sceneId=61, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=511, sceneId=61, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 2,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 5,},
					},
				},
				
			},

			sendTipmsg = true,					--消耗物品，不足时发消息而不是弹窗
		},
		{
			floorIdx 		= 2,				--第1层
			sceneId 		= 62,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,3},			--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,				--2-12层不需要判断 GlobalConfig.scenesNotEnter
			monsters = 
			{
				{ monsterId=237, sceneId=62, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=512, sceneId=62, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 3,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 10,},
					},
				},
				
			},

			sendTipmsg = true,
		},
		{
			floorIdx 		= 3,				--第3层
			sceneId 		= 63,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,3},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene	= true,
			monsters = 
			{
				{ monsterId=238, sceneId=63, num=12,range={21,26,38,47}, livetime=3600,},
				--{ monsterId=513, sceneId=63, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 3,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 10,},
					},
				},
				
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 4,				--第4层
			sceneId 		= 64,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,4},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene	= true,
			monsters = 
			{
				{ monsterId=239, sceneId=64, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=514, sceneId=64, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 4,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 15,},
					},
				},
				
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 5,				--第5层
			sceneId 		= 65,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,4},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=240, sceneId=65, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=515, sceneId=65, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 4,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 20,},
					},
				},
				
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 6,				--第6层
			sceneId 		= 66,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,5},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=241, sceneId=66, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=516, sceneId=66, num=2,range={21,26,38,47}, livetime=3600,},
			},
			boss = 
			{
				{ monsterId=248, sceneId=78, num=1,range={21,26,38,47}, livetime=3600,},
			},
			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 5,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 25,},
					},
				},
				
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 7,				--第7层
			sceneId 		= 67,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,6},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=242, sceneId=67, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=517, sceneId=67, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 6,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 30,},
					},
				},
				
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 8,				--第8层
			sceneId 		= 68,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,7},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=243, sceneId=68, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=518, sceneId=68, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 7,},
					},
				},

				
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 35,},
					},
				},
				
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 9,				--第9层
			sceneId 		= 69,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,8},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=244, sceneId=69, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=519, sceneId=69, num=2,range={21,26,38,47}, livetime=3600,},
			},
			boss = 
			{
				{ monsterId=249, sceneId=69, num=1,range={21,26,38,47}, livetime=3600,},
			},
			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 8,},
					},
				},

				--[[
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 40,},
					},
				},
				]]
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 10,				--第10层
			sceneId 		= 70,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,9},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=245, sceneId=70, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=520, sceneId=70, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 9,},
					},
				},

				--[[
				{	--元宝进入下一层
					consume = 
					{
						{ type = 5, id = 0, count = 50,},
					},
				},
				]]
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 11,				--第11层
			sceneId 		= 71,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {4291,10},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=246, sceneId=71, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=521, sceneId=71, num=2,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						{ type = 0, id = 4291, count = 10,},
					},
				},

				--[[
				{	--元宝进入下一层
					consume = 
					{
						--{ type = 5, id = 0, count = 60,},
					},
				},
				]]
			},
			sendTipmsg = true,
		},
		{
			floorIdx 		= 12,				--第12层
			sceneId 		= 72,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=247, sceneId=72, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=522, sceneId=72, num=2,range={21,26,38,47}, livetime=3600,},
			},
			boss = 
			{
				{ monsterId=250, sceneId=72, num=1,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				{	--道具进入下一层
					consume = 
					{
						--{ type = 0, id = 4291, count = 10,},
					},
				},

				--[[
				{	--元宝进入下一层
					consume = 
					{
						--{ type = 10, id = 0, count = 600,},
					},
				},
				]]
			},
			sendTipmsg = true,
		},
	    {
			floorIdx 		= 13,				--第13层
			sceneId 		= 204,        		--层数1 当前层场景ID
			enterLevelLimit = {0,70}, 			--进入首层的要求
			enterPos 		= {23,18},			--进入点
			checkItem 		= {},				--需要检测背包道具和数量，必须与nextFloor[1].consume一致
			noCheckFromScene= true,
			monsters = 
			{
				{ monsterId=247, sceneId=72, num=18,range={21,26,38,47}, livetime=3600,},
				{ monsterId=522, sceneId=72, num=2,range={21,26,38,47}, livetime=3600,},
			},
			boss = 
			{
				{ monsterId=250, sceneId=72, num=1,range={21,26,38,47}, livetime=3600,},
			},

			nextFloor = 		--进入下一层
			{
				
			},
			sendTipmsg = true,
		},

	},
}

